package Day11.IO;

import java.io.*;

public class Lian07 {
    public static void main(String[] args) throws IOException {
        BufferedInputStream bis=new BufferedInputStream(new FileInputStream("jinjie\\a.txt"));
        BufferedOutputStream bos=new BufferedOutputStream(new FileOutputStream("jinjie\\copy.txt"));
        byte[]bytes=new byte[1024];
        int len;
        while ((len=bis.read(bytes))!=-1){
            bos.write(bytes,0,len);
        }
        bis.close();
        bos.close();
    }
}
